package com.ruoyi.Gzmx_device.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 设备管理表对象 gzmx_device
 * 
 * @author ruoyi
 * @date 2022-10-20
 */
public class Gzmx_device extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String dev_name;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String dev_ggxh;

    /** 生产厂家 */
    @Excel(name = "生产厂家")
    private String dev_sccj;

    /** 出厂日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出厂日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dev_ccrq;

    /** 精度等级 */
    @Excel(name = "精度等级")
    private String dev_jddj;

    /** 测量范围 */
    @Excel(name = "测量范围")
    private String dev_clfw;

    /** ABC分类 */
    @Excel(name = "ABC分类")
    private String dev_abcfl;

    /** 仪表编号 */
    @Excel(name = "仪表编号")
    private String dev_ybbh;
    
    private String str_dev_ybbh;

    /** 计划检定日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划检定日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dev_jhjdrq;

    /** 设备类型名称 */
    @Excel(name = "设备类型名称")
    private String dev_sblx_name;

    /** 设备类型ID */
    @Excel(name = "设备类型ID")
    private Long dev_sblx_id;

    /** 出厂编号 */
    @Excel(name = "出厂编号")
    private String dev_ccbh;

    /** 投产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "投产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dev_tcrq;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private String dev_sbzt;

    /** 安装区域 */
    @Excel(name = "安装区域")
    private String dev_azqy_name;

    /** 安装区域ID */
    @Excel(name = "安装区域ID")
    private Long dev_azqy_id;

    /** 安装点位名称1 */
    @Excel(name = "安装点位名称1")
    private String dev_azdw1_name;

    /** 安装点位ID1 */
    @Excel(name = "安装点位ID1")
    private Long dev_azdw1_id;

    /** 安装点位名称2 */
    @Excel(name = "安装点位名称2")
    private String dev_azdw2_name;

    /** 安装点位ID2 */
    @Excel(name = "安装点位ID2")
    private Long dev_azdw2_id;

    /** 安装点位名称3 */
    @Excel(name = "安装点位名称3")
    private String dev_azdw3_name;

    /** 安装点位ID3 */
    @Excel(name = "安装点位ID3")
    private Long dev_azdw3_id;

    /** 是否检定 */
    @Excel(name = "是否检定")
    private String dev_isjd;

    /** 是否报废 */
    @Excel(name = "是否报废")
    private String dev_isbf;

    /** 所属单位代码 */
    @Excel(name = "所属单位代码")
    private String ssdw_dm;

    /** 所属单位名称 */
    @Excel(name = "所属单位名称")
    private String ssdw_name;

    /** 单位ID */
    @Excel(name = "单位ID")
    private Long deptId;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String dept_name;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long bm_id;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String bm_name;

    /** 作业区ID */
    @Excel(name = "作业区ID")
    private Long zyq_id;

    /** 作业区名称 */
    @Excel(name = "作业区名称")
    private String zyq_name;

    /** 点位ID（PHD） */
    @Excel(name = "点位ID", readConverterExp = "P=HD")
    private String SourceTag;

    /** 点位名称 */
    @Excel(name = "点位名称")
    private String Description;

    /** 安装点位名称4 */
    @Excel(name = "安装点位名称4")
    private String dev_azdw4_name;

    /** 安装点位ID4 */
    @Excel(name = "安装点位ID4")
    private Long dev_azdw4_id;

    /** 安装点位名称5 */
    @Excel(name = "安装点位名称5")
    private String dev_azdw5_name;

    /** 安装点位ID5 */
    @Excel(name = "安装点位ID5")
    private Long dev_azdw5_id;
    
    

    public String getStr_dev_ybbh() {
		return str_dev_ybbh;
	}

	public void setStr_dev_ybbh(String str_dev_ybbh) {
		this.str_dev_ybbh = str_dev_ybbh;
	}

	public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDev_name(String dev_name) 
    {
        this.dev_name = dev_name;
    }

    public String getDev_name() 
    {
        return dev_name;
    }
    public void setDev_ggxh(String dev_ggxh) 
    {
        this.dev_ggxh = dev_ggxh;
    }

    public String getDev_ggxh() 
    {
        return dev_ggxh;
    }
    public void setDev_sccj(String dev_sccj) 
    {
        this.dev_sccj = dev_sccj;
    }

    public String getDev_sccj() 
    {
        return dev_sccj;
    }
    public void setDev_ccrq(Date dev_ccrq) 
    {
        this.dev_ccrq = dev_ccrq;
    }

    public Date getDev_ccrq() 
    {
        return dev_ccrq;
    }
    public void setDev_jddj(String dev_jddj) 
    {
        this.dev_jddj = dev_jddj;
    }

    public String getDev_jddj() 
    {
        return dev_jddj;
    }
    public void setDev_clfw(String dev_clfw) 
    {
        this.dev_clfw = dev_clfw;
    }

    public String getDev_clfw() 
    {
        return dev_clfw;
    }
    public void setDev_abcfl(String dev_abcfl) 
    {
        this.dev_abcfl = dev_abcfl;
    }

    public String getDev_abcfl() 
    {
        return dev_abcfl;
    }
    public void setDev_ybbh(String dev_ybbh) 
    {
        this.dev_ybbh = dev_ybbh;
    }

    public String getDev_ybbh() 
    {
        return dev_ybbh;
    }
    public void setDev_jhjdrq(Date dev_jhjdrq) 
    {
        this.dev_jhjdrq = dev_jhjdrq;
    }

    public Date getDev_jhjdrq() 
    {
        return dev_jhjdrq;
    }
    public void setDev_sblx_name(String dev_sblx_name) 
    {
        this.dev_sblx_name = dev_sblx_name;
    }

    public String getDev_sblx_name() 
    {
        return dev_sblx_name;
    }
    public void setDev_sblx_id(Long dev_sblx_id) 
    {
        this.dev_sblx_id = dev_sblx_id;
    }

    public Long getDev_sblx_id() 
    {
        return dev_sblx_id;
    }
    public void setDev_ccbh(String dev_ccbh) 
    {
        this.dev_ccbh = dev_ccbh;
    }

    public String getDev_ccbh() 
    {
        return dev_ccbh;
    }
    public void setDev_tcrq(Date dev_tcrq) 
    {
        this.dev_tcrq = dev_tcrq;
    }

    public Date getDev_tcrq() 
    {
        return dev_tcrq;
    }
    public void setDev_sbzt(String dev_sbzt) 
    {
        this.dev_sbzt = dev_sbzt;
    }

    public String getDev_sbzt() 
    {
        return dev_sbzt;
    }
    public void setDev_azqy_name(String dev_azqy_name) 
    {
        this.dev_azqy_name = dev_azqy_name;
    }

    public String getDev_azqy_name() 
    {
        return dev_azqy_name;
    }
    public void setDev_azqy_id(Long dev_azqy_id) 
    {
        this.dev_azqy_id = dev_azqy_id;
    }

    public Long getDev_azqy_id() 
    {
        return dev_azqy_id;
    }
    public void setDev_azdw1_name(String dev_azdw1_name) 
    {
        this.dev_azdw1_name = dev_azdw1_name;
    }

    public String getDev_azdw1_name() 
    {
        return dev_azdw1_name;
    }
    public void setDev_azdw1_id(Long dev_azdw1_id) 
    {
        this.dev_azdw1_id = dev_azdw1_id;
    }

    public Long getDev_azdw1_id() 
    {
        return dev_azdw1_id;
    }
    public void setDev_azdw2_name(String dev_azdw2_name) 
    {
        this.dev_azdw2_name = dev_azdw2_name;
    }

    public String getDev_azdw2_name() 
    {
        return dev_azdw2_name;
    }
    public void setDev_azdw2_id(Long dev_azdw2_id) 
    {
        this.dev_azdw2_id = dev_azdw2_id;
    }

    public Long getDev_azdw2_id() 
    {
        return dev_azdw2_id;
    }
    public void setDev_azdw3_name(String dev_azdw3_name) 
    {
        this.dev_azdw3_name = dev_azdw3_name;
    }

    public String getDev_azdw3_name() 
    {
        return dev_azdw3_name;
    }
    public void setDev_azdw3_id(Long dev_azdw3_id) 
    {
        this.dev_azdw3_id = dev_azdw3_id;
    }

    public Long getDev_azdw3_id() 
    {
        return dev_azdw3_id;
    }
    public void setDev_isjd(String dev_isjd) 
    {
        this.dev_isjd = dev_isjd;
    }

    public String getDev_isjd() 
    {
        return dev_isjd;
    }
    public void setDev_isbf(String dev_isbf) 
    {
        this.dev_isbf = dev_isbf;
    }

    public String getDev_isbf() 
    {
        return dev_isbf;
    }
    public void setSsdw_dm(String ssdw_dm) 
    {
        this.ssdw_dm = ssdw_dm;
    }

    public String getSsdw_dm() 
    {
        return ssdw_dm;
    }
    public void setSsdw_name(String ssdw_name) 
    {
        this.ssdw_name = ssdw_name;
    }

    public String getSsdw_name() 
    {
        return ssdw_name;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDept_name(String dept_name) 
    {
        this.dept_name = dept_name;
    }

    public String getDept_name() 
    {
        return dept_name;
    }
    public void setBm_id(Long bm_id) 
    {
        this.bm_id = bm_id;
    }

    public Long getBm_id() 
    {
        return bm_id;
    }
    public void setBm_name(String bm_name) 
    {
        this.bm_name = bm_name;
    }

    public String getBm_name() 
    {
        return bm_name;
    }
    public void setZyq_id(Long zyq_id) 
    {
        this.zyq_id = zyq_id;
    }

    public Long getZyq_id() 
    {
        return zyq_id;
    }
    public void setZyq_name(String zyq_name) 
    {
        this.zyq_name = zyq_name;
    }

    public String getZyq_name() 
    {
        return zyq_name;
    }
    public void setSourceTag(String SourceTag) 
    {
        this.SourceTag = SourceTag;
    }

    public String getSourceTag() 
    {
        return SourceTag;
    }
    public void setDescription(String Description) 
    {
        this.Description = Description;
    }

    public String getDescription() 
    {
        return Description;
    }
    public void setDev_azdw4_name(String dev_azdw4_name) 
    {
        this.dev_azdw4_name = dev_azdw4_name;
    }

    public String getDev_azdw4_name() 
    {
        return dev_azdw4_name;
    }
    public void setDev_azdw4_id(Long dev_azdw4_id) 
    {
        this.dev_azdw4_id = dev_azdw4_id;
    }

    public Long getDev_azdw4_id() 
    {
        return dev_azdw4_id;
    }
    public void setDev_azdw5_name(String dev_azdw5_name) 
    {
        this.dev_azdw5_name = dev_azdw5_name;
    }

    public String getDev_azdw5_name() 
    {
        return dev_azdw5_name;
    }
    public void setDev_azdw5_id(Long dev_azdw5_id) 
    {
        this.dev_azdw5_id = dev_azdw5_id;
    }

    public Long getDev_azdw5_id() 
    {
        return dev_azdw5_id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dev_name", getDev_name())
            .append("dev_ggxh", getDev_ggxh())
            .append("dev_sccj", getDev_sccj())
            .append("dev_ccrq", getDev_ccrq())
            .append("dev_jddj", getDev_jddj())
            .append("dev_clfw", getDev_clfw())
            .append("dev_abcfl", getDev_abcfl())
            .append("dev_ybbh", getDev_ybbh())
            .append("dev_jhjdrq", getDev_jhjdrq())
            .append("dev_sblx_name", getDev_sblx_name())
            .append("dev_sblx_id", getDev_sblx_id())
            .append("dev_ccbh", getDev_ccbh())
            .append("dev_tcrq", getDev_tcrq())
            .append("dev_sbzt", getDev_sbzt())
            .append("dev_azqy_name", getDev_azqy_name())
            .append("dev_azqy_id", getDev_azqy_id())
            .append("dev_azdw1_name", getDev_azdw1_name())
            .append("dev_azdw1_id", getDev_azdw1_id())
            .append("dev_azdw2_name", getDev_azdw2_name())
            .append("dev_azdw2_id", getDev_azdw2_id())
            .append("dev_azdw3_name", getDev_azdw3_name())
            .append("dev_azdw3_id", getDev_azdw3_id())
            .append("dev_isjd", getDev_isjd())
            .append("dev_isbf", getDev_isbf())
            .append("ssdw_dm", getSsdw_dm())
            .append("ssdw_name", getSsdw_name())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deptId", getDeptId())
            .append("dept_name", getDept_name())
            .append("bm_id", getBm_id())
            .append("bm_name", getBm_name())
            .append("zyq_id", getZyq_id())
            .append("zyq_name", getZyq_name())
            .append("SourceTag", getSourceTag())
            .append("Description", getDescription())
            .append("dev_azdw4_name", getDev_azdw4_name())
            .append("dev_azdw4_id", getDev_azdw4_id())
            .append("dev_azdw5_name", getDev_azdw5_name())
            .append("dev_azdw5_id", getDev_azdw5_id())
            .toString();
    }
}
